setScaleX

open fun setScaleX(view: View, value: Float)(source)

Deprecated

Use setScaleX directly.

Sets the amount that the view is scaled in x around the pivot point, as a proportion of the view's unscaled width. A value of 1 means that no scaling is applied.

Parameters

view

view to set the scale on.

value

The scaling factor.